import { Component, OnInit } from '@angular/core';
import {DomSanitizer} from '@angular/platform-browser';
import config from '../config';
@Component({
  selector: 'app-github',
  templateUrl: './github.component.html',
  styleUrls: ['./github.component.css']
})
export class GithubComponent implements OnInit {
  public orbitUrl;
  constructor(private sanitizer: DomSanitizer) {
    this.orbitUrl = this.sanitizer.bypassSecurityTrustResourceUrl('http://github.com/canyuegongzi');
  }

  ngOnInit() {
    console.log(config.nav);
  }

}
